package com.atguigu.dao;

import com.atguigu.pojo.TravelGroup;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface TravelGroupDao {
    void setTravelGroupAndTravelItem(Map map);

    void add(TravelGroup travelGroup);

    Page findPage(String queryString);

    TravelGroup get(Integer id);

    Integer[] getTravelItemIdsByTravelGroupId(Integer id);

    void update(TravelGroup travelGroup);

    void delete(Integer id);

    List<TravelGroup> findAll();

}
